import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import moment from 'moment'
import md5 from 'js-md5'
Vue.prototype.$md5 = md5
Vue.prototype.moment = moment

// 引入字体图标库
import '../public/icon/iconfont.css'

import axios from 'axios'
import VueAxios from 'vue-axios'
axios.defaults.baseURL = `http://localhost:3000/v1/`

Vue.use(VueAxios, axios)

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// 引入vant
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

// 引入mintui
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)


Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')